package com.xuelang.pipeline.client.resource.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotEmpty;

/**
 * @author xiwen.zxg
 * @since 2024/5/27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class EnvironmentQuery {


    /**
     * 环境UUID
     */
    private String uuid;
    /**
     * 交付空间UUID
     */
    private String spaceUuid;

    /**
     * 应用编码
     */
    @NotEmpty(message = "应用编码不能为空")
    private String applicationCode;

    /**
     * 环境名称
     */
    private String name;

    /**
     * 环境编码
     */
    private String code;

    /**
     * 环境描述
     */
    private String description;

}
